package com.zbkj.dal.entity.partner;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_partner_role_card")
@ApiModel(value = "用户合伙人角色", description = "用户合伙人角色开卡记录表")
public class PartnerRoleCard {
    @ApiModelProperty(value = "用户合伙人角色Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户Id")
    private Integer userId;

    @ApiModelProperty(value = "合伙人角色Id")
    private Integer roleId;

    @ApiModelProperty(value = "合伙人角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色卡开始时间")
    private Date cardStartTime;

    @ApiModelProperty(value = "角色卡到期时间")
    private Date cardEndTime;

    @ApiModelProperty(value = "角色卡卡号")
    private String cardNo;

    @ApiModelProperty(value = "角色卡图片")
    private String cardImg;

    @ApiModelProperty(value = "角色卡描述")
    private String remark;

    @ApiModelProperty(value = "WAIT_PAY 未支付 USE 使用中 PAST 已过期 CLOSE 已销户")
    private String cardStatus;

    @ApiModelProperty(value = "开通后用户分润级别 L001 一级分润 L002 二级分润")
    private String shareProfitLevel;

    @ApiModelProperty(value = "账户号")
    private String accountNo;

    /**
     * 角色卡等级L001普通会员 L002 合伙人 L003加盟商
     */
    private String userPartnerRoleLevel;
}
